home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD School House 10
/
CD School House - Education and Games (10.0) - Wayzata Technology (1995).iso
/
mac
/
DOS
/
MISC
/
FTK
/
CARPET.TK
next >
Wrap
Text File
|
1994-02-24
|
1KB
|
145 lines
TK!2
=v
#1
:n
n
:v
56
:s
i
:c
number of "rings" on the roll
#2
:n
ic
:v
14.125
:s
i
:u
in
:d
in
:c
inner circumference (of the core)
#3
:n
id
:s
b
:u
in
:d
in
:c
inner diameter (of the core)
#4
:n
oc
:v
35.5
:s
i
:u
in
:d
in
:c
outer circumference
#5
:n
od
:s
b
:u
in
:d
in
:c
outer diameter
#6
:n
length
:s
b
:u
in
:d
ft
:c
length of remaining linoleum or carpet
#7
:n
:s
b
#8
:n
:s
b
#9
:n
:s
b
=u
#1
:f
ft
:t
in
:m
12
#2
:f
yd
:t
ft
:m
3
#3
:f
in
:t
cm
:m
2.54
#4
:f
m
:t
cm
:m
100
=r
#1
:r
" **** LENGTH OF LINOLEUM OR CARPET REMAINING ON A ROLL ****
:s
C
#3
:r
length = n * (ic + oc) / 2 " This rule uses circumferences
#4
:r
length = n * pi() * (id + od) / 2 " This rule uses diameters
#5
:r
ic = pi() * id
#6
:r
oc = pi() * od
#8
:r
" The number of "rings" is counted and multiplied by the average length
:s
C
#9
:r
" (circumference) of the "rings". Thickness of the material doesn't matter.
:s
C
%Br,f,0,1,0,1,0
%Ov,f,6,5,0,1,0